Skip to content

cleanup: remove obsolete Kubernetes ValueError catch#758

Closed
parthnayyar07 wants to merge 1 commit intoreanahub:masterfrom
parthnayyar07:fix/cleanup-k8s-value-error
Closed

cleanup: remove obsolete Kubernetes ValueError catch#758
parthnayyar07 wants to merge 1 commit intoreanahub:masterfrom
parthnayyar07:fix/cleanup-k8s-value-error

Conversation

@parthnayyar07
Copy link
Copy Markdown

Description: As noted in the FIXME comments within reana_server/status.py, this PR removes the obsolete ValueError exception handling for Kubernetes node lists.

Changes:

  • Removed the try-except ValueError block in get_nodes_memory().

  • Removed the redundant except ValueError block in get_memory_usage() while maintaining the necessary ApiException handling.

  • Cleaned up the code logic to follow current Kubernetes Python client standards as suggested by the internal documentation comments.

@parthnayyar07 parthnayyar07 closed this by deleting the head repository Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant